package com.wzy.vx.VO;

import lombok.Data;

import java.io.Serializable;

/**
 * @ProjectName: vx
 * @Package: com.wzy.vx.VO
 * @ClassName: ResultVo
 * @Author: Administrator
 * @Description: 前端请求最外层对象
 * @Date: 2019/3/12 15:11
 * @Version: 1.0
 */
@Data
public class ResultVo<T> implements Serializable {


    private static final long serialVersionUID = 1654111144624793640L;
    //错误码
    private Integer code;
    //msg提示信息
    private  String msg;
    //具体内容
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
